import numpy as np

userSheet = r"...\..\testSheet.CSV"

t1 = np.loadtxt(userSheet, delimiter=',', dtype='int')

# unpack转置
t2 = np.loadtxt(userSheet, delimiter=',', dtype='int', unpack=True)
print(t1)
print('-' * 100)
print(t2)

